package com.cimc.web.mobile;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.cimc.web.BaseController;

/**
 * 知识分享移动终端相关action
 * @author zting
 *
 */
@Controller
@RequestMapping(value="/kledge")
public class KnowLedgeController extends BaseController{

	/**
	 * 查询号航以及侧边栏子类
	 * @author zting
	 * @return
	 */
	@RequestMapping(value="query_nav", produces="text/html;charset=UTF-8") 
	@ResponseBody
	public String queryNavAndChildType(){
		String json = "{\"集团\":\"http://www.cimc.com\"}";
		return json;
	}
	
	/**
	 * 根据唯一标示查询详情
	 * @author zting
	 * @param id
	 * @return
	 */
	@RequestMapping(value="/query_detail")
	@ResponseBody
	public String queryDetail(String id){
		return "12345";
	}
}
